package com.ruoyi.system.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Map;

/**
 * 专家打分对象 a_score
 *
 * @author ruoyi
 * @date 2020-07-08
 */
public class AScore extends BaseEntity {
    private static final long serialVersionUID = 1L;

    public AScore() {
    }

    /**
     * 打分ID
     */
    private Long aSid;

    /**
     * 评估攻击ID
     */
    @Excel(name = "评估攻击ID")
    private Long aId;

    /**
     * 专家名称
     */
    @Excel(name = "专家名称")
    private String aSname;

    /**
     * 专家打分
     */
    @Excel(name = "专家打分")
    private String aSvalue;

    public AScore(Map score, Long aId) {
        this.aId = aId;
        this.aSname = "" + score.get("aSname");
        this.aSvalue = "" + score.get("aSvalue");

    }

    public void setaSid(Long aSid) {
        this.aSid = aSid;
    }

    public Long getaSid() {
        return aSid;
    }

    public void setaId(Long aId) {
        this.aId = aId;
    }

    public Long getaId() {
        return aId;
    }

    public void setaSname(String aSname) {
        this.aSname = aSname;
    }

    public String getaSname() {
        return aSname;
    }

    public void setaSvalue(String aSvalue) {
        this.aSvalue = aSvalue;
    }

    public String getaSvalue() {
        return aSvalue;
    }


    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("aSid", getaSid())
                .append("aId", getaId())
                .append("aSname", getaSname())
                .append("aSvalue", getaSvalue())
                .toString();
    }
}
